<div class="basis resume-item">
    <div class="layui-row">
        <div class="block-name layui-col-xs8">
            基本信息
        </div>
        <div style="cursor: pointer;text-align: right;overflow: hidden">
            <div class="basis-edit"  style="padding:5px 15px;color: #DD4517">编辑</div>
        </div>
    </div>

    <div class="default" style="margin-bottom: 10px;padding: 15px 10px 5px 10px">
        <div class="layui-row">
            <div class="layui-col-xs6">
                <div class="layui-form-item">
                    <label class="layui-form-title">姓名：</label>

                    <div class="layui-input-inline" id="nickname">
                        {{$user->nickname}}
                    </div>
                </div>
            </div>
            <div class="layui-col-xs6">
                <div class="layui-form-item">
                    <label class="layui-form-title">性别：</label>

                    <div class="layui-input-inline" id="sex">
                        {{$user->sex}}
                    </div>
                </div>
            </div>
        </div>
        <div class="layui-row">
            <div class="layui-col-xs6">
                <div class="layui-form-item">
                    <label class="layui-form-title">年龄：</label>

                    <div class="layui-input-inline" id="age">
                        {{$user->age}}
                    </div>
                </div>
            </div>
            <div class="layui-col-xs6">
                <div class="layui-form-item">
                    <label class="layui-form-title">邮箱：</label>

                    <div class="layui-input-inline" id="email">
                        {{$user->email?$user->email:''}}
                    </div>
                </div>
            </div>
        </div>
        <div class="layui-row">
            <div class="layui-col-xs6">
                <div class="layui-form-item">
                    <label class="layui-form-title">学历：</label>

                    <div class="layui-input-inline" id="education">
                        {{$education[$user->education]}}
                    </div>
                </div>
            </div>
            <div class="layui-col-xs6">
                <div class="layui-form-item">
                    <label class="layui-form-title">工作经验：</label>

                    <div class="layui-input-inline" id="operation">
                        {{$operation[$user->operation]}}
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div class="default-edit" style="padding:40px 10px 5px 10px;background: #f5f5f5">
        <form class="layui-form"  onsubmit="return false">
            <div class="layui-row">
                <div class="layui-col-xs6">
                    <div class="layui-form-item">
                        <label class="layui-form-label"><span class="required">*</span>姓名：</label>

                        <div class="layui-input-inline">
                            <input type="text" name="nickname" lay-verify="required" placeholder="请输入姓名"
                                   class="layui-input" value="{{$user->nickname}}">
                        </div>
                    </div>
                </div>
                <div class="layui-col-xs6">
                    <div class="layui-form-item">
                        <label class="layui-form-label"><span class="required">*</span>性别：</label>

                        <div class="layui-input-block">
                            <input type="radio" name="sex" value="男" title="男" @if($user->sex == '男') checked @endif>
                            <input type="radio" name="sex" value="女" title="女" @if($user->sex == '女') checked @endif>
                        </div>
                    </div>
                </div>
                <div class="layui-row">
                    <div class="layui-col-xs6">
                        <div class="layui-form-item">
                            <label class="layui-form-label"><span class="required">*</span>年龄：</label>
                            <div class="layui-input-inline">
                                <input type="text" name="age" class="layui-input" placeholder="年龄"
                                       lay-verify="required|number" value="{{$user->age}}">
                            </div>
                        </div>
                    </div>
                    <div class="layui-col-xs6">
                        <div class="layui-form-item">
                            <label class="layui-form-label">邮箱：</label>

                            <div class="layui-input-inline">

                                <input type="text" name="email" autocomplete="off" placeholder=""
                                       class="layui-input" value="{{$user->email}}" lay-verify="">
                            </div>
                        </div>
                    </div>
                    <div class="layui-col-xs6">
                        <div class="layui-form-item">
                            <label class="layui-form-label">手机：</label>
                            <div class="layui-input-inline">
                                <input type="text" disabled="disabled" class="layui-input"
                                       value="{{$user->mobile}}"
                                       readonly
                                       style="background: #f0f0f0">
                            </div>
                        </div>
                    </div>

                </div>
                <div class="layui-row">
                    <div class="layui-col-xs6">
                        <div class="layui-form-item">
                            <label class="layui-form-label"><span class="required">*</span>学历：</label>

                            <div class="layui-input-inline">
                                <select name="education" lay-verify="required">
                                    <option value="0" @if($user->education == '0') selected @endif>保密</option>
                                    <option value="1" @if($user->education == '1') selected @endif>初中以下</option>
                                    <option value="2" @if($user->education == '2') selected @endif>高中</option>
                                    <option value="3" @if($user->education == '3') selected @endif>大专</option>
                                    <option value="4" @if($user->education == '4') selected @endif>大学</option>
                                    <option value="5" @if($user->education == '5') selected @endif>研究生及以上</option>
                                </select>
                            </div>
                        </div>
                    </div>
                    <div class="layui-col-xs6">
                        <div class="layui-form-item">
                            <label class="layui-form-label"><span class="required">*</span>经验：</label>

                            <div class="layui-input-inline">
                                <select name="operation">
                                    <option value="0" @if($user->operation == '0') selected @endif >无经验</option>
                                    <option value="1" @if($user->operation == '1') selected @endif>1年以下</option>
                                    <option value="2" @if($user->operation == '2') selected @endif >1-3年</option>
                                    <option value="3" @if($user->operation == '3') selected @endif>3-5年</option>
                                    <option value="4" @if($user->operation == '4') selected @endif>5-10年</option>
                                    <option value="5" @if($user->operation == '5') selected @endif>10年以上</option>
                                </select>
                            </div>
                        </div>
                    </div>
                </div>

                <div class="layui-form-item" style="text-align: center;margin-top: 30px">
                    <button type="submit" class="layui-btn layui-btn-sm submit" data-type="basis"
                            style="background: #DD4517;border-radius: 20px;padding: 0 20px;" lay-submit=""
                            lay-filter="modal-basis">
                        保存
                    </button>
                    <button type="reset" class="layui-btn layui-btn-sm"
                            style="margin-left:50px;border:1px solid #666;background:#fff;color:#333;border-radius: 20px;padding: 0 20px;">
                        取消
                    </button>
                </div>
            </div>
        </form>
    </div>
</div>
